using System;
using System.Collections.Generic;
using System.Text;
using SdlDotNet.Graphics.Sprites;
using SdlDotNet.Graphics;

namespace SnakeCharp.UI
{
    public class UIFont : TextSprite
    {
        public UIFont(string text, int size) 
            : base(new Font(Configurations.FontPath + "toon.ttf", size))
        {
            this.Text = text;
            this.Color = System.Drawing.Color.White;
            this.AntiAlias = true;
            
            //TEST: Test of Hardware Surface
            //this.Surface = this.Surface.Convert(this.Surface, true, false);
        }
    }
}
